package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Returns entity. @author MyEclipse Persistence Tools
 */

public class Returns implements java.io.Serializable {

	// Fields

	private Long id;
	private Order order;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String address;
	private String area;
	private String deliveryCorp;
	private Double freight;
	private String memo;
	private String operator;
	private String phone;
	private String shipper;
	private String shippingMethod;
	private String sn;
	private String trackingNo;
	private String zipCode;
	private Set returnsItems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Returns() {
	}

	/** minimal constructor */
	public Returns(Order order, Timestamp createDate, Timestamp modifyDate,
			String address, String area, String operator, String phone,
			String shipper, String sn, String zipCode) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.address = address;
		this.area = area;
		this.operator = operator;
		this.phone = phone;
		this.shipper = shipper;
		this.sn = sn;
		this.zipCode = zipCode;
	}

	/** full constructor */
	public Returns(Order order, Timestamp createDate, Timestamp modifyDate,
			String address, String area, String deliveryCorp, Double freight,
			String memo, String operator, String phone, String shipper,
			String shippingMethod, String sn, String trackingNo,
			String zipCode, Set returnsItems) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.address = address;
		this.area = area;
		this.deliveryCorp = deliveryCorp;
		this.freight = freight;
		this.memo = memo;
		this.operator = operator;
		this.phone = phone;
		this.shipper = shipper;
		this.shippingMethod = shippingMethod;
		this.sn = sn;
		this.trackingNo = trackingNo;
		this.zipCode = zipCode;
		this.returnsItems = returnsItems;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getDeliveryCorp() {
		return this.deliveryCorp;
	}

	public void setDeliveryCorp(String deliveryCorp) {
		this.deliveryCorp = deliveryCorp;
	}

	public Double getFreight() {
		return this.freight;
	}

	public void setFreight(Double freight) {
		this.freight = freight;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getShipper() {
		return this.shipper;
	}

	public void setShipper(String shipper) {
		this.shipper = shipper;
	}

	public String getShippingMethod() {
		return this.shippingMethod;
	}

	public void setShippingMethod(String shippingMethod) {
		this.shippingMethod = shippingMethod;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getTrackingNo() {
		return this.trackingNo;
	}

	public void setTrackingNo(String trackingNo) {
		this.trackingNo = trackingNo;
	}

	public String getZipCode() {
		return this.zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public Set getReturnsItems() {
		return this.returnsItems;
	}

	public void setReturnsItems(Set returnsItems) {
		this.returnsItems = returnsItems;
	}

}